package com.lq.order.enums;

public enum OrderStatusEnum {
    /*
    订单状态枚举 0:待付款 1:待发货 2:待收货 3:待评价 4:已完成 5:已取消
     */
    WAIT_PAY(0, "待付款"),
    WAIT_DELIVER(1, "待发货"),
    WAIT_RECEIVE(2, "待收货"),
    COMPLETED(3, "已完成"),
    CANCELED(4, "已取消");
    private Integer code;
    private String message;
    OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }

}
